#!/bin/bash

who=$(whoami)
if [ ${who} != "root" ]
then
    echo 'wrong'
    echo $who
else
    echo 'right'
fi